package com.itheima.hello.hellopromax高级进阶.休息日;

import java.time.LocalDate;

public class day {
    private LocalDate day;
    private boolean flag;

    public day(LocalDate day) {
        this.day = day;
    }

    public day() {
    }

    public day(LocalDate day, boolean flag) {
        this.day = day;
        this.flag = flag;
    }

    public LocalDate getDay() {
        return day;
    }

    public void setDay(LocalDate day) {
        this.day = day;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return day.toString();
    }
}
